package com.stedu.mall.orderservice.mapper;

import com.stedu.mall.common.bean.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailMapper {
    //根据订单id查询
    List<OrderDetail> selectByOrderId(String orderId);
    //增加
    int insert(OrderDetail orderDetail);
    //删除
    int delete(Integer id);
    //修改
    int update(OrderDetail orderDetail);
}
